<p>
  dynamic-container works!
</p>

<!-- <div class="dynamic-container" >
  loading...
</div> -->

<button (click)="createComponent()">动态创建组件</button>
<button (click)="delComponent()">动态删除组件</button>

<ng-template #viewContainerRef>
  loading...
</ng-template>